package com.luckynote.common.user.mapper;


import com.luckynote.common.user.dto.UserDTO;
import com.luckynote.common.user.query.UserQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <pre>
 * *********************************************
 * Copyright LUCKY-NOTE.
 * All rights reserved.
 * ****************************************************
 *  Version       Date         Author            Desc
 *    v1.0       2019/6/29      bingo
 * ****************************************************
 * </pre>
 */
public interface UserDTOMapper {
    
    int deleteByPrimaryKey(@Param("userId")String userId);

    int insert(UserDTO record);

    int insertSelective(UserDTO record);

    UserDTO selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(UserDTO record);

    int updateByPrimaryKey(UserDTO record);

    List<UserDTO> selectByUserQuery(UserQuery userQuery);
}